package alex.game.util
{
	import alex.game.updatable.map.BasicMap;

	public class GameUtil
	{
		//PROTOCOLE
		public static var PROTOCOLE_STARTING_GAME:String = "psg";
		public static var PROTOCOLE_PICKED_PLANE:String = "ppp";
		
		
		public static function getClassFromProtocole(msg:String):String
		{
			if(msg == "mis")
				return "alex.game.updatable.map.MapIslandSea";
			
			if(msg == "FFA")
				return "alex.game.state.FFAPlayState";
			
			return "";
		}
		
		
		public static var player:Player = new Player();
		
		
		public static var players:Array = new Array();
		
		public static var gameType:String;
		
		public static var map:String;		
		
	}
}